//
//  MCHongBaoRecordProperty.h
//  XDYL
//
//  Created by MC on 2018/3/28.
//  Copyright © 2018年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCMineHeader.h"

@interface MCHongBaoRecordProperty : NSObject
@end

@interface MCSendHBRecordProperty : NSObject
singleton_h(MCSendHBRecordProperty)

@property(nonatomic, strong) NSString * statTime;
@property(nonatomic, strong) NSString * endTime;
@property(nonatomic, strong) NSString * CurrentPageIndex;
@property(nonatomic, strong) NSString * CurrentPageSize    ;
@property(nonatomic, assign) BOOL IsHistory;
@property(nonatomic, strong) NSString * GetHongBaoType;

@end
@interface MCReceivedHBRecordProperty : NSObject
singleton_h(MCReceivedHBRecordProperty)

@property(nonatomic, strong) NSString * statTime;
@property(nonatomic, strong) NSString * endTime;
@property(nonatomic, strong) NSString * CurrentPageIndex;
@property(nonatomic, strong) NSString * CurrentPageSize    ;
@property(nonatomic, assign) BOOL IsHistory;


@end

#pragma mark===========返回数据=============
@interface MCPagingModel : NSObject

@property (nonatomic,strong) NSString *HasNextPage;// = 0;是否存在下一页
@property (nonatomic,strong) NSString *PageIndex;// = 1;第几页(从1开始)
@property (nonatomic,strong) NSString *PageSize;// = 15;每页大小
@property (nonatomic,strong) NSString *Total;// = 0;总记录数

@end


@interface MCRecordsModel : NSObject


@property (nonatomic,strong) NSString *SysId;//": "string",发红包标识 ,
@property (nonatomic,strong) NSString *Mode;//": 0,类型
@property (nonatomic,strong) NSString *Amount;//": 0,发红包的总金额
@property (nonatomic,strong) NSString *SendTime;//发红包时间 ": "2018-03-28T06:12:16.480Z",
@property (nonatomic,strong) NSString *Qty;//": 0,发红包个数
@property (nonatomic,strong) NSString *OpendedQty;//": 已领取红包个数0,
@property (nonatomic,strong) NSString *Unopended;//"未领取红包个数: 0,
@property (nonatomic,strong) NSString *IsExpired;//"是否已过期: true
//Sysid (string, optional): 红包id ,
@property (nonatomic,strong) NSString *UserName;// (string, optional): 红包发送人 ,
//Mode (integer, optional): 类型 ,
//Amount (number, optional): 抢红包的金额 ,
@property (nonatomic,strong) NSString *OpenTime;// (string, optional): 抢红包时间



@end






//{
//    "ReceivedRecords": {
//        "Paging": {
//            "PageIndex": 0,
//            "Total": 0,
//            "PageSize": 0,
//            "HasNextPage": true
//        },
//        "Records": [
//                    {
//                        "Sysid": "string",
//                        "UserName": "string",
//                        "Mode": 0,
//                        "Amount": 0,
//                        "OpenTime": "2018-03-28T06:12:16.522Z"
//                    }
//                    ]
//    }
//}


//        {
//            ReceivedRecords =     {
//                Paging =         {
//                    HasNextPage = 0;
//                    PageIndex = 1;
//                    PageSize = 15;
//                    Total = 0;
//                };
//                Records =         (
//                );
//            };
//        }















